* {
    padding: 0;
    margin: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #d1726b;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.monster {
    position: relative;
    width: 90px;
    height: 80px;
    border-radius: 20px;
    background-color: #d9794e;
    margin: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, .2);
    animation: jumping .9s infinite alternate;
}

.monster .eye {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40%;
    width: 40%;
    background-color: white;
    border-radius: 50%;
    margin-top: 10px;
}

.monster .eye .eyeBall {
    width: 50%;
    height: 50%;
    background-color: #1a4480;
    border-radius: 50%;
    animation: eyemove 1s infinite alternate;
}

.monster .mouth {
    width: 30%;
    height: 10%;
    border-radius: 12px;
    background-color: white;
    margin: 12px;
}

.monster::before,
.monster::after {
    content: '';
    display: block;
    width: 20%;
    height: 10%;
    border-radius: 10px;
    background-color: #fff;
    position: absolute;
    top: -10px;
    left: 50%;
}

.monster::before {
    transform: translateX(-70%) rotate(45deg);
}

.monster::after {
    transform: translateX(-20%) rotate(-45deg);
}

.blue {
    background-color: #19437d;
    animation-delay: .5s;
}

.blue .eye .eyeBall,
.blue .mouth {
    background-color: #d87853;
}

@keyframes jumping {
    50% {
        top: 0;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, .2);
    }
    100% {
        top: -50px;
        box-shadow: 0px 100px 20px rgba(0, 0, 0, .1);
    }
}

@keyframes eyemove {
    0%,
    10% {
        transform: translateX(-50%);
    }
    90%,
    100% {
        transform: translateX(50%);
    }
}

.pageLoading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #19437d;
    /* transition: 1s; */
}

.pageLoading .loading {
    width: 200px;
    height: 8px;
    background-color: #fff;
    border-radius: 5px;
    margin-top: 50px;
    overflow: hidden;
}

.bar {
    width: 0%;
    height: 100%;
    background-color: #d9794e;
    /* animation: progress 2s ease-out; */
}


/* @keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;

    }
} */


/* .pageLoading.complete {
    opacity: 0;
} */

.pageLoading.complete .monster {
    transition: .5s;
    transform: scale(0.1) rotate(360deg);
}


/* .monster.blue {
    background-color: thistle !important;
} */